﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Kinlo.WebApi.Model
{
    /// <summary>
    /// 预充
    /// </summary>
    public class PrechargeDto
    {
        /// <summary>
        /// 托盘码
        /// </summary>
        public string TrayCode { get; set; }
        /// <summary>
        /// 工序编号 ：OCV,预充
        /// </summary>
        public string ProcessNO { get; set; }
        /// <summary>
        /// 电芯列表
        /// </summary>
        public ObservableCollection<BatteryItem> BatteryList { get; set; } = new ObservableCollection<BatteryItem>();
    }

    public class BatteryItem
    {
        /// <summary>
        /// 电芯条码
        /// </summary>
        public string BatteryCode { get; set; }
        /// <summary>
        /// 通道号（256通道）
        /// </summary>
        public int Position { get; set; }
        /// <summary>
        ///  电芯状态(0：无电芯 1:OK 2:NG)
        /// </summary>
        public int BatteryStatus { get; set; }
        /// <summary>
        /// NG代码
        /// </summary>
        public string NGCode { get; set; }


        /// <summary>
        /// IR阻值
        /// </summary>
        public string IR { get; set; }
        /// <summary>
        /// 电压
        /// </summary>
        public string Voltage { get; set; }
        /// <summary>
        /// 工步类型
        /// </summary>
        public string Steptype { get; set; }
        /// <summary>
        /// 电流
        /// </summary>
        public string Current { get; set; }
        /// <summary>
        /// 容量
        /// </summary>
        public string Capacity { get; set; }
        /// <summary>
        /// 能量
        /// </summary>
        public string Energy { get; set; }


    }

}
